public class Demo16 {
	public static void main(String[] args) {
		int num=8461;
		int tmp=num;
		while(tmp>0) {
			System.out.println(tmp%10) ;
			tmp/=10;
		}
	}
}
 class Student<T> {
	T card;
	T stuName;
	T adress;
	T birthday;
	public Student(T card, T stuName, T adress, T birthday) {
		this.card = card;
		this.stuName = stuName;
		this.adress = adress;
		this.birthday = birthday;
	}

	 public static void main(String[] args) {
		 Student<String>[] student=new Student[]{new Student("1001","xiaohong","xinxiang","2004-11-13")};
		 for(int i=0;i<student.length;i++) {
			 System.out.println(student[i].card+student[i].stuName+student[i].adress+student[i].birthday);
		 }

	 }
}
